﻿using System;
using System.Collections.Generic;

using System.Text;

namespace System.Qizx.Xml
{
    /*******************************/
    /// <summary>
    /// This interface will manage errors during the parsing of a XML document.
    /// </summary>
    public interface XmlSaxErrorHandler
    {
        /// <summary>
        /// This method manage an error exception ocurred during the parsing process.
        /// </summary>
        /// <param name="exception">The exception thrown by the parser.</param>
        void error(System.Xml.XmlException exception);

        /// <summary>
        /// This method manage a fatal error exception ocurred during the parsing process.
        /// </summary>
        /// <param name="exception">The exception thrown by the parser.</param>
        void fatalError(System.Xml.XmlException exception);

        /// <summary>
        /// This method manage a warning exception ocurred during the parsing process.
        /// </summary>
        /// <param name="exception">The exception thrown by the parser.</param>
        void warning(System.Xml.XmlException exception);
    }
}
